package net.halflite.mzkr.dto.mail;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/** ユーザーに送るメールの設定DTO */
public class UserMailDto extends BaseMailDto {

	/** ハッシュ値 */
	private String hash;

	public UserMailDto(String address, String name, String hash) {
		super(address, name);
		this.hash = hash;
	}

	public UserMailDto() {
	}

	public String getHash() {
		return hash;
	}

	public void setHash(String hash) {
		this.hash = hash;
	}
	
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
